<?php
/**
 * DESC:
 * 作者:晨光
 * EMAIL:461718846@qq.com
 * DATE:2020/5/11
 */

namespace app\common\model;


use think\Model;

class Carousel extends Model
{
    public function dictionaryItem(){
        return $this->belongsTo('dictionaryItem','cate_id','id')->bind([
            'cate'=>'name'
        ]);
    }
}
